<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../css/harmonise.css" type="text/css" />
<link rel="stylesheet" href="../css/base-groups.css" type="text/css" />
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="../css/ie.css" />
<![endif]-->
<title>Border Radius and Box Shadow | Chapter 4 | CSS Mastery </title>
<style  type="text/css">

/* Pretty */


.box {
	width: 30em;
	background-color: #89ac11;
	color: #fff;
	padding: 2em 2em 1em 2em;
	margin-top: 2em;
}

h2 {
	margin-top: 0;
	font-size: 1.6em;
}

.box {
	-moz-border-radius: 1em;
	-webkit-border-radius: 1em;
	border-radius: 1em;
}

/* Example */

.box {
  -webkit-box-shadow: 3px 3px 6px #666;
  -moz-box-shadow: 3px 3px 6px #666;
  box-shadow: 3px 3px 6px #666;
}


</style>
</head>
<body>

<div class="box">
<h2>I Haz Shadow</h2>
<p>This rounded corner box has it's own shadow. Look how the shadow curves nicely around the corners. Isn't that great? Well, I mean it's not exactly rocket science and is somethig browsers should have been able to do 6 years ago. However it's still pretty cool. Now we just need gradients and we're all set!</p>
</div>


</body>
</html>